package com.wish.g04.financial.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wish.g04.base.dto.FinancingApplicationDTO;
import com.wish.g04.base.entity.JrRentInstallment;
import com.wish.g04.base.vo.FinancingApplicationVO;
import com.wish.g04.financial.mapper.RentInstallmentMapper;
import com.wish.g04.financial.service.IRentInstallmentService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 房租分期申请 服务实现类
 * </p>
 *
 * @author 薛凯
 * @since 2022-05-23
 */
@Service
public class RentInstallmentServiceImpl extends ServiceImpl<RentInstallmentMapper, JrRentInstallment> implements IRentInstallmentService {

    /**
     * 融资申请列表
     *
     * @param financingApplicationDTO 查询条件
     * @return
     */
    @Override
    public List<FinancingApplicationVO> getFinancingApplicationList(FinancingApplicationDTO financingApplicationDTO) {
        return baseMapper.getFinancingApplicationList(financingApplicationDTO);
    }
}
